package com.hl.toolkit.server.tycoin.setting.slaveentity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="sys_area")
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
 public class TycoinSysArea  extends AbstractEntity implements java.io.Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	@Column(name = "area_code")
	private String areaCode;
	
	@Column(name = "parent_code")
	private String parentCode;
	
	@Column(name = "area_name")
	private String areaName;
	
	
	@Column(name = "area_rank")
	private int areaRank;
	
	@Column(name = "area_number")
	private String areaNumber;
	
	
	@Column(name = "post_code")
	private String postCode;
	
 	
	@Column(name = "spell_simple")
	private String spellSimple;
	
 	
	@Column(name = "spell")
	private String spell;
	
	@Column(name = "list_order")
	private int listOrder;
	
	
	@Column(name = "status")
	private int status;


	public String getAreaCode() {
		return areaCode;
	}


	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}


	public String getParentCode() {
		return parentCode;
	}


	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}


	public String getAreaName() {
		return areaName;
	}


	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}


	public int getAreaRank() {
		return areaRank;
	}


	public void setAreaRank(int areaRank) {
		this.areaRank = areaRank;
	}


	public String getAreaNumber() {
		return areaNumber;
	}


	public void setAreaNumber(String areaNumber) {
		this.areaNumber = areaNumber;
	}


	public String getPostCode() {
		return postCode;
	}


	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}


	public String getSpellSimple() {
		return spellSimple;
	}


	public void setSpellSimple(String spellSimple) {
		this.spellSimple = spellSimple;
	}


	public String getSpell() {
		return spell;
	}


	public void setSpell(String spell) {
		this.spell = spell;
	}


	public int getListOrder() {
		return listOrder;
	}


	public void setListOrder(int listOrder) {
		this.listOrder = listOrder;
	}


	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}


	public TycoinSysArea(String areaCode, String parentCode, String areaName, int areaRank, String areaNumber,
			String postCode, String spellSimple, String spell, int listOrder, int status) {
		super();
		this.areaCode = areaCode;
		this.parentCode = parentCode;
		this.areaName = areaName;
		this.areaRank = areaRank;
		this.areaNumber = areaNumber;
		this.postCode = postCode;
		this.spellSimple = spellSimple;
		this.spell = spell;
		this.listOrder = listOrder;
		this.status = status;
	}


	public TycoinSysArea() {
		super();
	}
	
	
	
	
	
	
 
}
